﻿using System.Web.Mvc;
using Dexter.PluginManager;

namespace Dexter.Plugins.Linkflood
{
	public class LinkfloodRegistration : Pluginregistration
	{
		public override string AreaName
		{
			get { return "Dexter.Plugins.Linkflood"; }
		}

		public override void RegisterArea(AreaRegistrationContext context)
		{
			context.MapRoute("sample", "sample/{controller}/{action}", new {controller = "home", action = "index", id = ""},
			                 new[] {"PortableArea.Sample.Controllers"});

			RegisterEmbeddedViewEngine();
		}
	}
}